package com.CST.service;

import com.CST.common.api.Response;
import com.CST.common.api.ResultObject;
import com.CST.entity.CusUnitArea;
import com.CST.entity.CusUnitAreaExtend;
import com.CST.entity.CusUnitAreaPageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ly
 * @since 2021-12-22
 */
public interface ICusUnitAreaService extends IService<CusUnitArea> {

    Response listYearAndMonth();

    ResultObject listCusUnitAreaByPage(CusUnitAreaPageInfo pageInfo);

    Response updateCusUnitAreaById(CusUnitArea cusUnitArea);

    Response deleteCusUnitAreaById(Integer id);

    Response extendLastMonth(CusUnitAreaExtend cusUnitAreaExtend);

    Response insertCusUnitArea(CusUnitArea cusUnitArea);

    ResultObject getCusUnitAreaById(Integer id);
}
